Skip to content

[Snyk] Security upgrade node-gyp from 11.2.0 to 12.0.0#80

Open
johnnyhuy wants to merge 1 commit intomainfrom
snyk-fix-746e2164c95faf44bba2f306a74806ba
Open

[Snyk] Security upgrade node-gyp from 11.2.0 to 12.0.0#80
johnnyhuy wants to merge 1 commit intomainfrom
snyk-fix-746e2164c95faf44bba2f306a74806ba

Conversation

@johnnyhuy
Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 3 vulnerabilities in the yarn dependencies of this project.

Snyk changed the following file(s):

  • packages/backend/package.json

Note for zero-installs users

If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠️ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue Score
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
  756  
high severity Command Injection
SNYK-JS-GLOB-14040952
  706  
low severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-BRACEEXPANSION-9789073
  436  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Regular Expression Denial of Service (ReDoS)
🦉 Command Injection

Copilot AI review requested due to automatic review settings February 8, 2026 10:44
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates node-gyp in the backend package to address Snyk-reported vulnerabilities in transitive dependencies.

Changes:

  • Bumps node-gyp from ^11.2.0 to ^12.0.0 in packages/backend/package.json.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

"better-sqlite3": "^12.0.0",
"dockerode": "^4.0.5",
"node-gyp": "^11.2.0",
"node-gyp": "^12.0.0",
Copy link

Copilot AI Feb 8, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description indicates the yarn.lock update failed and must be updated manually. Upgrading a dependency without updating the lockfile may leave vulnerable transitive versions in place (or make installs non-reproducible) and can prevent the vulnerability fix from actually applying. Regenerate and commit the updated yarn.lock (and, if using Yarn zero-installs, the .yarn/cache/ artifacts) so CI and consumers reliably get the patched dependency graph.

Suggested change
"node-gyp": "^12.0.0",
"node-gyp": "^11.0.0",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants